<?php
if($tipo == "formacao") :
  foreach($Curriculos as $Curriculo):
    if(!empty($Curriculo['User']['email'])):
      echo($Curriculo['User']['email'] . ", ");
    endif;
  endforeach;
else:
  foreach($Curriculos as $Curriculo):
    if(!empty($Curriculo['User']['email'])):
      echo($Curriculo['User']['email'] . ", ");
    endif;
  endforeach;

endif;
?>
<?php ?>
